package com.example.demo.dao;

import com.example.demo.bean.Me;
import com.example.demo.bean.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface Daome {

    @Select("SELECT\n" +
            "\ttype\n" +
            "FROM\n" +
            "\tpreson t\n" +
            "JOIN pm ts ON t.PresonID = ts.PresonID\n" +
            "JOIN medical s ON s.medicalID = ts.medicalID\n" +
            "WHERE\n" +
            "\tt.Hospital = #{Hospital}")
    List<Me> dou6(String Hospital);

}
